package com.totem.order.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.totem.base.mybatis.model.AbstractEntity;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

@EqualsAndHashCode(onlyExplicitlyIncluded=true, callSuper = true)
@Data
@Builder
@TableName("t_subscribe_order_items")
public class TSubscribeOrderItems extends AbstractEntity {
    @EqualsAndHashCode.Include
    @TableId(value="id", type= IdType.AUTO)
    private Long id;
    @TableField("order_id")
    private Long orderId;
    @TableField("subscribe_name")
    private String subscribeName;
    @TableField("team_handle_state")
    private String teamHandleState;
    @TableField("award_handle_state")
    private String awardHandleState;
    @TableField("return_handle_state")
    private String returnHandleState;
    @TableField("currency")
    private String currency;
    @TableField("close_time")
    private Date closeTime;
}
